<script lang='ts' setup name='MyInput'>  
 import { ref } from 'vue'
 
 const props = defineProps(['modelValue'])
const emit = defineEmits(['update:modelValue'])


</script>  
  
<template>  
  
<!-- 自定义的文本框 -->

<input type="text"  :value="modelValue"    @input="emit('update:modelValue', $event.target.value)" />





</template>  
  
<style scoped>  

</style>  